package com.dmjj.dmjjxt.dao;

import com.dmjj.common.base.BaseMapper;
import com.dmjj.dmjjxt.dto.BrandDTO;
import com.dmjj.dmjjxt.dto.BrandPicDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 品牌信息表数据层处理接口
 * @Author zhangxue
 * @Date 2019-04-11 14:13:52
 */
@Mapper
public interface BrandMapper extends BaseMapper<BrandDTO, Long> {

    List<Map<String,Object>> queryAllBrandNameAndNo(BrandDTO entityDTO);

    BrandDTO queryBrandInfoByBrandNo(BrandDTO entityDTO);

    List<BrandDTO> queryBrandInfoByName(BrandDTO entityDTO);

    Integer deleteBrand(String brandno);

    List<Map<String, Object>> queryContractInfoByBrandNo(String brandno);

    Integer saveBrandPic(BrandPicDTO paramMap);

    List<BrandPicDTO> queryBrandPicInfo(BrandPicDTO entityDTO);

    Integer deleteBrandPicById(BrandPicDTO entityDTO);
}
